package com.skygrass.caesar.consumer.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import com.skygrass.caesar.consumer.annotation.ComponentScanExclude;

@Configuration
@ComponentScanExclude
public class ServiceLoadConfig
{
	@Bean
	public IRule serviceLoadrule()
	{
		return new RandomRule();
	}
}
